package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the DETALLE_TITULO_ANDAHUYLAS database table.
 * 
 */
//@Entity
//@Table(name="DETALLE_TITULO_ANDAHUYLAS")
public class DetalleTituloAndahuyla implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String esTituCali;
	private BigDecimal estadoTituloId;
	private String fgActivo;
	private BigDecimal montoLiq;
	private BigDecimal nsDetalle;
	private String puCtrl;
	private BigDecimal refnumTitu;
	private Date tsCrea;
	private Date tsUltSync;

    public DetalleTituloAndahuyla() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="ES_TITU_CALI", length=2)
	public String getEsTituCali() {
		return this.esTituCali;
	}

	public void setEsTituCali(String esTituCali) {
		this.esTituCali = esTituCali;
	}


	@Column(name="ESTADO_TITULO_ID", nullable=false)
	public BigDecimal getEstadoTituloId() {
		return this.estadoTituloId;
	}

	public void setEstadoTituloId(BigDecimal estadoTituloId) {
		this.estadoTituloId = estadoTituloId;
	}


	@Column(name="FG_ACTIVO", nullable=false, length=1)
	public String getFgActivo() {
		return this.fgActivo;
	}

	public void setFgActivo(String fgActivo) {
		this.fgActivo = fgActivo;
	}


	@Column(name="MONTO_LIQ", nullable=false, precision=12, scale=2)
	public BigDecimal getMontoLiq() {
		return this.montoLiq;
	}

	public void setMontoLiq(BigDecimal montoLiq) {
		this.montoLiq = montoLiq;
	}


	@Column(name="NS_DETALLE", nullable=false, precision=5)
	public BigDecimal getNsDetalle() {
		return this.nsDetalle;
	}

	public void setNsDetalle(BigDecimal nsDetalle) {
		this.nsDetalle = nsDetalle;
	}


	@Column(name="PU_CTRL", length=2)
	public String getPuCtrl() {
		return this.puCtrl;
	}

	public void setPuCtrl(String puCtrl) {
		this.puCtrl = puCtrl;
	}


	@Column(name="REFNUM_TITU", nullable=false)
	public BigDecimal getRefnumTitu() {
		return this.refnumTitu;
	}

	public void setRefnumTitu(BigDecimal refnumTitu) {
		this.refnumTitu = refnumTitu;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_CREA")
	public Date getTsCrea() {
		return this.tsCrea;
	}

	public void setTsCrea(Date tsCrea) {
		this.tsCrea = tsCrea;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}